package com.myaihui.service;

import com.myaihui.domain.Account;
import com.myaihui.domain.Market;
import com.myaihui.foundation.model.Pager;
import com.myaihui.foundation.query.MarketQuery;

/**
 * *******************************
 * Created by Tim.
 * form com.matt
 * on 2018/5/30
 * *******************************
 */
public interface MarketService {
    Pager<Market> getMarketPage(MarketQuery marketQuery);

    Market add(Market market);

    Market modify(Market market, Account account, String username, String password, String createdId);

    Market get(String id);
}
